<!DOCTYPE html>
<html>
<body>
<form action="issues63.php" method="post">
Name: <input type="text" name="name"><br/>
E-mail: <input type="text" name="email"><br/>
Comment: <textarea name="comment" rows="5" cols="40"></textarea><br/>
<input type="submit"><br/>
</form>
<?php
$con=mysqli_connect ('db515900915.db.1and1.com','dbo515900915','DHV!.-2014','db515900915');
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }
$result = mysqli_query($con,"SELECT Name,Email,Com,TG FROM dhv_NguyenThiHoa_gestbook order by ID");

while($row = mysqli_fetch_array($result))
  {
  echo  "<b>". $row['Name'] ."</b>"."<br> "."<a href='#'>". $row['Email'] ."</a>"." <br>". $row['Com'] ." <br>"."<span style ='color:#B0AFAF'>". $row['TG'] ."</span>";
  echo "<hr>";
  }

mysqli_close($con);
?>

</body>
</html>